/*
 * @Author: Cenven
 * @Date: 2021-05-10 12:00:08
 * @Description: 北京泓深教育发展有限公司
 * @Descripttion: 
 * @version: @Lastest
 * @LastEditTime: 2021-05-10 14:36:58
 * @CopyRight: 北京泓深教育发展有限公司
 */
import http from "~/utils/http";
export const getSignAgreementList = userId => {
  return http({
    url: "signAgreement/getSignsByUserId?userId=" + userId,
    method: "get",
  });
};
export const getCourseAgreement = courseId => {
  return http({
    url: "courseAgreement/getAgreementsByCourseId?courseId=" + courseId,
    method: "get",
  });
};
export const saveCourseAgreement = data => {
  return http({
    url: "signAgreement/save",
    method: "post",
    data
  });
};
